package com.cskaoyan.service;

import com.cskaoyan.bean.bo.TopicCreateBo;
import com.cskaoyan.bean.bo.TopicDeleteBo;
import com.cskaoyan.bean.bo.TopicUpdateBo;
import com.cskaoyan.bean.param.BaseParam;
import com.cskaoyan.bean.po.TopicPo;
import com.cskaoyan.bean.vo.TopicCreateVo;
import com.cskaoyan.bean.vo.TopicReadVo;
import com.cskaoyan.bean.vo.TopicUpdateVo;
import com.cskaoyan.bean.vo.TopicVo;

import java.util.List;

/**
 * @author: 陈慧颖
 * @time: Created by chy on 2022/6/5 17:13
 */
public interface TopicService {
     List<TopicVo> listAll(BaseParam baseParam,String title,String subtitle);
     TopicCreateVo create(TopicCreateBo topicCreateBo);
     void deleteOne(TopicDeleteBo topicDeleteBo);

    TopicUpdateVo updateOneTopic(TopicUpdateBo topicUpdateBo);

    TopicReadVo read(Integer id);
}
